package com.yifei.service.system.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifei.mapper.SysMenuMapper;
import com.yifei.model.entity.system.SysMenu;
import com.yifei.service.system.SysMenuService;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * 菜单管理(SysMenu)表服务实现类
 *
 * @author yiFei
 * @since 2023-09-23 20:56:09
 */
@Service("sysMenuService")
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {

    /**
     * 获取角色权限集合
     *
     * @param roles
     * @return
     */
    @Override
    public Set<String> listRolePerms(Set<String> roles) {
        return this.baseMapper.listRolePerms(roles);
    }
}

